package cn.edu.fzu.homemaking.chat.domain.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MessageDto implements Serializable {

    //发送消息人id
    private Long fromId;
    //发送消息人姓名
    private String fromName;
    //接收方id
    private Long toId;
    //消息内容
    private String text;
    //消息发送时间
    private Date createTime;
    //是否转人工
    private boolean human;
    //提示信息
    private boolean tip;
    //是否已读
    private boolean read;
    //消息来源：USER,COMPANY
    private String origin;

}
